package org.example.test;


import org.example.config.JavaConfig;
import org.example.service.TestService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.stereotype.Controller;
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;

@Controller
@SpringJUnitConfig(classes = JavaConfig.class)
public class test {
    @Autowired
    private TestService testService;
    @Test
    public void test(){

        testService.add(1,1);
    }
}
